package see.battle.message;

import see.battle.Const;

public class StartGameMessage implements Message {
  /**
   * 
   */
  private static final long serialVersionUID = 3491164430217885499L;
  private int _type = Const.startGameMessageType;
  private long _time;
  private int _view;
  private long _seed;
  
  /**
   * @param _time
   * @param seed
   */
  public StartGameMessage(long time, long seed) {
    _time = time;
    _seed = seed;
  } 

  public StartGameMessage(long time, long seed, int view) {
	    _time = time;
	    _seed = seed;
	    _view = view;
  }
  
  public int type() {
    return _type;
  }

  public long get_time() {
    return _time;
  }
  
  public int get_view() {
	  return _view;
  } 
  public long get_seed() {
    return _seed;
  }

  //@Override
  public void updateTime(long diff) {
    _time += diff;    
  }

}